{
	template:`
	<a-page-header title="商品信息" :sub-title="model.factoryName" >
		<template #extra>
			<m-back @click="back(false);">关闭</m-back>
		</template>
		<a-card :hoverable="true" :bodyStyle="{padding:0}">
			<a-descriptions column="3" bordered class="index-descriptions" style="margin:-1px;">
				<a-descriptions-item label="商品类型" span="3">
					<div>{{model.typeName}}</div>
				</a-descriptions-item>
				<a-descriptions-item label="商品名称" span="3">
					<div>{{model.name}}</div>
				</a-descriptions-item>
			</a-descriptions>
		</a-card>
	</a-page-header>
	`,
	props: ['localeZh','param','parentVue'],
	data:function(){
		return {
		    model:{}
		};
	},
	mounted(){
	    if(this.param.oid) this.loadModel(this.param.oid);
	},
	methods:{
	    loadModel:function(oid){
			this.requestData("action/store/storeGoods/get",
				{"oid":oid},
				function(json){
					if(json.code==0){
                        this.model=json.model;
                        this.attrList=JSON.parse(json.model.attrJson);
					}
				}.bind(this)
			);
	    }
	}
}